﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="ContactUs.aspx.cs" Inherits="gamexpert.ContactUs" Theme="Black" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2>Contact Us</h2>
    <asp:MultiView ID="MultiView1" runat="server">
        <asp:View ID="View1" runat="server">
            <asp:Panel ID="Panel1" runat="server" DefaultButton="btnSubmit" CssClass="contactus">
  <div>
 
 <address>
    GamesXpert Customer Service<br />
    625 ClementiAvenue 8<br />
    Singapore 123456<br />
    Phone: 1-800-221-8895 <br />
</address>
<br />
    <fieldset>
        <legend>Equiry form</legend>
           <p> Please fill in all the fields in the following form to contact us. We will get back to you soon.<br /> We always welcome any enquiry you may have to our service. </p>
           <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="a" />
            <table>
            <tr><td>First Name:</td>
            <td>
                <asp:TextBox ID="firstname" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ErrorMessage="Please fill in first name." ValidationGroup="a" 
                    ControlToValidate="firstname">*</asp:RequiredFieldValidator>
            </td>
            </tr>
            <tr><td>Last Name:</td><td>
                <asp:TextBox ID="lastname" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ErrorMessage="Please fill in last name." ValidationGroup="a" 
                    ControlToValidate="lastname">*</asp:RequiredFieldValidator>
            </td></tr>
            <tr><td>Email:</td><td>
                <asp:TextBox ID="email" runat="server"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ErrorMessage="Please fill in email address." ValidationGroup="a" 
                    ControlToValidate="email" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="email" ErrorMessage="Please fill in email address." 
                    ValidationGroup="a">*</asp:RequiredFieldValidator>
            </td></tr>
            <tr><td>Enquiry:</td><td>
                <asp:TextBox ID="enquiry" runat="server" CssClass="textarea" TextMode="MultiLine" Rows="6" Visible="True" Width="300px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ErrorMessage="Please fill in enquiry." ValidationGroup="a" 
                    ControlToValidate="enquiry">*</asp:RequiredFieldValidator>
            </td></tr>
            <tr><td colspan="2" style="text-align:center">
                <asp:Button ID="btnSubmit" runat="server" Text="Submit" ValidationGroup="a" 
                    onclick="btnSubmit_Click" />
            </td></tr>
        </table>
    </fieldset>
    </div>
</asp:Panel>
        </asp:View>
        <asp:View ID="View2" runat="server">
            <p>Thank you for contacting us. We will get back to you soon.<br />
                <asp:LinkButton ID="LinkButton1" runat="server" CssClass="contactus" 
                    onclick="LinkButton1_Click">Send another enquiry form.</asp:LinkButton>
            </p>
        </asp:View>
    </asp:MultiView>

</asp:Content>
